/**
 * 
 */
package hr.fer.zemris.rznu.model.dto.user;

import hr.fer.zemris.rznu.model.dto.authorization.UserInRoleDTO;
import hr.fer.zemris.rznu.model.dto.betting.BettingSlipDTO;


import java.util.Set;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * @author Dajan
 *
 */
public class UserDTO implements IsSerializable{


	/**
	 * Personal user info.
	 */
	private PersonalUserInfoDTO personalUserInfoDTO;

	/**
	 * Username.
	 */
	private String username;
	/**
	 * Password. Password is encrypted with SHA1 encryption. Encrypted password
	 * is always 20 characters long.
	 */
	private String password;

	/**
	 * User roles.
	 */

	private Set<UserInRoleDTO> usersInRole;
	
	private Set<BettingSlipDTO> bettingSlips;

	
	public PersonalUserInfoDTO getPersonalUserInfoDTO() {
		return personalUserInfoDTO;
	}

	public void setPersonalUserInfoDTO(PersonalUserInfoDTO personalUserInfoDTO) {
		this.personalUserInfoDTO = personalUserInfoDTO;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Set<UserInRoleDTO> getUsersInRole() {
		return usersInRole;
	}

	public void setUsersInRole(Set<UserInRoleDTO> usersInRole) {
		this.usersInRole = usersInRole;
	}

	public Set<BettingSlipDTO> getBettingSlips() {
		return bettingSlips;
	}

	public void setBettingSlips(Set<BettingSlipDTO> bettingSlips) {
		this.bettingSlips = bettingSlips;
	}
	
	
	
}
